package top.laoshuzi.designpatterns.base.created.builder;

/**
 * 导演者
 */
public class Director {

    private Builder builder;

    public Director(Builder builder) {
        this.builder = builder;
    }

    public Product create() {
        return builder.buildPart1()
                .buildPart2()
                .buildPart3()
                .build();
    }


}
